﻿using Domain.Model.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 电子币管理
    /// </summary>
    public class Token:Entity
    {
        public Guid UserId { get; set; }

        public virtual User User { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
            [Length(30)]
        public string TokenType { get; set; }
        /// <summary>
        /// 钱包类型
        /// </summary>
            [Length(30)]
        public string WalletType { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
            [Length(30)]
        public string Aduiter { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public State State { get; set; }
    }
}
